package cn.iocoder.yudao.module.picturebook.controller.admin.favorites.vo;

import cn.iocoder.yudao.module.picturebook.dal.dataobject.book.BookDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 用户收藏 Response VO")
@Data
@ExcelIgnoreUnannotated
public class FavoritesRespVO {

    @Schema(description = "收藏ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2671")
    @ExcelProperty("收藏ID")
    private Long id;

    @Schema(description = "关联用户", requiredMode = Schema.RequiredMode.REQUIRED, example = "10317")
    @ExcelProperty("关联用户")
    private Long userId;

    @Schema(description = "关联书籍", example = "21992")
    @ExcelProperty("关联书籍")
    private BookDO book;

    @Schema(description = "收藏类型：1-单本，2-绘本集", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("收藏类型：1-单本，2-绘本集")
    private Integer collectionType;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}